<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="d" uri="/MisTags"%>
<%@ page import=" share.Tarea,java.io.*,java.util.*,java.net.*,java.sql.*" %>



<form id="form2" id="form1" action="RevisarBitacora.do" method="post" >
	Seleccione la persona para revisar su bitacora:
	<d:SeleccionarUsuario name="opcionesUsuario"/>
	<td colspan="2">
	         <input id="inputsubmit1" type="submit" name="inputsubmit1" value="Aceptar" />
			 <c:out value="${param.error}"/>
			 <input type="hidden" name="accion" value="RevisarBitacora"" />
	</td>
</form>
<c:if test="${sessionScope.lista != null}">
<%
		List miLista = (List) session.getAttribute("Lista");
		ArrayList<Tarea> lista = (ArrayList<Tarea>) miLista;

		String name="";
		out.println("<select name=\""+name+"\">");
		for (Tarea d : lista)
		{
			out.println("<option value=\""+d.getCodigo()+"\">");
			out.print(d.getNombre()+"</option>");
		}

		out.println("</select>");
%>
</c:if>

